import { S } from '../../s';
import { IPSDEMainStateOPPriv } from './ipsdemain-state-oppriv';
import { IPSDEOPPriv } from '../priv/ipsdeoppriv';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEMainStateOPPrivImpl
  extends PSModelObjectImpl
  implements IPSDEMainStateOPPriv
{
  protected psdeoppriv: IPSDEOPPriv;
  getPSDEOPPriv(): IPSDEOPPriv | null {
    return (
      this.psdeoppriv ||
      (this.psdeoppriv = this.fillObjectModel(
        S._270,
        this.M.getPSDEOPPriv,
        S._2a6,
      ) as IPSDEOPPriv)
    );
  }
  get cls(): string {
    return 'PSDEMainStateOPPrivImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._1f5) return true;
    return super.instanceof(cls);
  }
}
